package cn.getech.data.development.job.util

object SapConn {

}

/**
 * Sap链接类
 * @param host
 * @param sysnr
 * @param client
 * @param user
 * @param password
 * @param lang
 */
case class SapConn(host: String, sysnr: String, client:String, user:String, password:String, lang:String, groupTarget:Int, mhost:String, group:String, r3name:String){
  private val JCO_ASHOST = host
  private val JCO_SYSNR = sysnr
  private val JCO_CLIENT = client
  private val JCO_USER = user
  private val JCO_PASSWORD = password
  private val JCO_LANG = lang
  private val isGroup = groupTarget
  private val JCO_MSHOST = mhost
  private val JCO_GROUP = group
  private val JCO_R3NAME = r3name

  def getJCO_ASHOST(): String ={
    this.JCO_ASHOST
  }

  def getJCO_SYSNR(): String ={
    this.JCO_SYSNR
  }

  def getJCO_CLIENT(): String ={
    this.JCO_CLIENT
  }

  def getJCO_USER(): String ={
    this.JCO_USER
  }

  def getJCO_PASSWD(): String ={
    this.JCO_PASSWORD
  }

  def getIsGroup(): Int ={
    this.isGroup
  }

  def getJCO_MHOST(): String ={
    this.JCO_MSHOST
  }
  def getJCO_GROUP(): String ={
    this.JCO_GROUP
  }
  def getJCO_R3NAME(): String ={
    this.JCO_R3NAME
  }
  def getJCO_LANG(): String ={
    this.JCO_LANG
  }
}
